<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>认证管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="../../../component/elementUI/index.css" />
    <link rel="stylesheet" href="../../../style/index.css" />
    <style>
      .el-card__header,
      .el-card__body,
      .el-main {
        padding: 10px;
      }

      .el-collapse-item__header {
        height: 30px;
        line-height: 30px;
      }
    </style>
  </head>

  <body>
    <div id="app" v-cloak>
      <el-card
        style="margin: 5px 0; background-color: white"
        v-for="(item,index) in xqym"
        :key="index"
        class="box-card"
      >
        <div slot="header" class="clearfix">
          <span style="font-size: 14px; font-weight: 600"
            >{{item.Tax_Number}}</span
          >
        </div>
        <div style="display: flex">
          <el-image
            style="flex-shrink: 0; width: 70px; height: 70px"
            fit="contain"
            :preview-src-list="[Domain_Business + item.Picture_URL]"
            :src="Domain_Business + item.Picture_URL"
          ></el-image>
          <div style="width: 100%; margin-left: 10px">
            <div class="text item">
              <span style="font-size: 12px; font-weight: 700">企业名称：</span
              ><span style="font-size: 12px">{{item['Enterprise_Name']}}</span>
            </div>
            <div class="text item">
              <span style="font-size: 12px; font-weight: 700">企业地址：</span
              ><span style="font-size: 12px"
                >{{item['Enterprise_Address']}}</span
              >
            </div>
            <div class="text item">
              <span style="font-size: 12px; font-weight: 700">法人姓名：</span
              ><span style="font-size: 12px">{{item['Legal_Person']}}</span>
            </div>
            <!-- <div class="text item">
              <span style="font-size: 12px; font-weight: 700">法人姓名：</span
              ><span style="font-size: 12px">{{item['Legal_Person']}}</span>
            </div> -->
          </div>
        </div>
        <div class="text item">
          <span style="font-size: 12px; font-weight: 700">身份证号：</span
          ><span style="font-size: 12px">{{item['ID_Number']}}</span>
        </div>
        <div class="text item">
          <span style="font-size: 12px; font-weight: 700">电话：</span
          ><span style="font-size: 12px">{{item['Mobile']}}</span>
        </div>
        <div class="text item">
          <span style="font-size: 12px; font-weight: 700">银行账户名称：</span
          ><span style="font-size: 12px">{{item['Bank_Name']}}</span>
        </div>
        <div class="text item">
          <span style="font-size: 12px; font-weight: 700">银行账号：</span
          ><span style="font-size: 12px">{{item['Account_Number']}}</span>
        </div>
        <div class="text item">
          <span style="font-size: 12px; font-weight: 700">申请类别：</span
          ><span style="font-size: 12px"
            >{{item['Enterprise_Type']=='1'?'企业商户':'个体商户'}}</span
          >
        </div>
        <div class="text item">
          <span style="font-size: 12px; font-weight: 700">管理员账号：</span
          ><span style="font-size: 12px">{{item['User_Number']}}</span>
        </div>
        <div class="text item">
          <span style="font-size: 12px; font-weight: 700">管理员：</span
          ><span style="font-size: 12px">{{item['ID_Name']}}</span>
        </div>
        <div
          style="
            display: flex;
            justify-content: space-around;
            padding: 10px 0 0;
            border-top: 1px solid #ebeef5;
          "
        >
          <el-button type="primary" size="small" @click="agree(item,0)"
            >通过</el-button
          >
          <el-button type="danger" size="small" @click="agree(item,1)"
            >拒绝</el-button
          >
        </div>
      </el-card>

      <el-dialog title="请填写" :visible.sync="faDD">
        <el-form :model="form">
          <el-form-item label="测试法大大电签账号名称">
            <el-input v-model="FaDaDaIdentName" autocomplete="off"></el-input>
          </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button @click="jj">取 消</el-button>
          <el-button type="primary" @click="qd">确 定</el-button>
        </div>
      </el-dialog>
      <el-form class="form-operation">
        <el-button @click="window.history.back()">返回上一页</el-button>
      </el-form>
    </div>
    <script
      type="text/javascript"
      src="../../../utils/jquery-3.6.0.min.js"
    ></script>
    <script
      type="text/javascript"
      src="../../../utils/jquery.cookie.js"
    ></script>
    <script type="text/javascript" src="../../../utils/vue.min.js"></script>
    <script
      type="text/javascript"
      src="../../../component/elementUI/index.js"
    ></script>
    <script type="text/javascript" src="../../../utils/utils.js"></script>
    <script type="text/javascript" src="./js/Authentication.js"></script>
  </body>
</html>
